import views.*;
import controllers.*;
import preferences.*;

import javax.swing.UIManager;

public class Driver {
	
	public static void main(String[] args) {
		new ConnectionSettings( "jdbc:mysql://localhost:3306/cosca_ats", "root", "root" );
		
		new ConfirmationMessages( true );
		
		try {
			UIManager.setLookAndFeel( "com.sun.java.swing.plaf.windows.WindowsLookAndFeel" );
			// "com.sun.java.swing.plaf.windows.WindowsLookAndFeel"
			// UIManager.getSystemLookAndFeelClassName()
		} catch ( Exception exception ) {
			exception.printStackTrace();
		}
		
		MainFrame frame = new MainFrame();
		new MainController( frame.mainView );
		new ReferencesController( frame.referencesView );
		new ReportsController( frame.reportsView );
		
	}

}
